﻿@model ElCharro01.Models.Variant
@{
    ViewBag.Title = "Delete";
    Layout = "~/Views/Shared/_LayoutAdmin.cshtml";
}
<h2 class="centered">
    Gestione Varianti->Delete</h2>
<h3>
    Are you sure you want to delete this?</h3>
<fieldset>
    <legend>Variant</legend>
    <div class="display-label">
        Colore</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Colore)
    </div>
    <div class="display-label">
        PrezzoUnitario</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.PrezzoUnitario)
    </div>
    <div class="display-label">
        Taglia</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Taglia)
    </div>
    <div class="display-label">
        InStock</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.InStock)
    </div>
</fieldset>
@using (Html.BeginForm())
{
    <p>
        <input type="submit" value="Delete" />
        |
    </p>
}
<div class="centralo">
    @Html.ActionLink("Torna Alla Lista Varianti", "ShowVariantOfProduct", "Variant", new { ProductID = Model.Product.ID }, new { })</div>
